package com.slxy.before;

public class DemoC {

    public void c(){
        System.out.println("我是c的c方法");
        DemoA demoA = new DemoA();
        demoA.a();
    }
    public void c(DemoA demoA){
        System.out.println("我是c的c方法");
        demoA.a();
    }

}
